{% extends 'vcs/base.html' %}

{% block title %}Repository: {{ b.repository }}{% endblock %}

{% block breadcrumbs %}
<li><a href="/vcs/">repositories</a> &raquo;</li>
<li class="repository"><a href="{{ b.repository.get_absolute_url }}">{{ b.repository }}</a> &raquo;</li>
<li>branches &raquo;</li>
<li class="current">{{ b }}</li>
{% endblock %}

{% block content %}

<h2>Commits</h2>
{% if b.commits.count %}
<ul>
    {% for c in b.commits.all %}
    <li><a href="{{ c.get_absolute_url }}">{{ c }}</a><br />
    </li>
        
    {% endfor %}
</ul>
{% endif %}

{% endblock %}
